package com.edu.java.dao;

import com.edu.java.entity.PropValue;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface PropValueDao extends JpaRepository<PropValue,Long> {
    @Query(value = "select * from Prop_Value where prop_id = ?1 ", nativeQuery = true)
    public  PropValue findbyPropId(Long propId);
}
